package com.bwie.controller;

import com.bwie.service.TbGroupService;
import com.bwie.utils.R;
import com.bwie.vo.PageInfoVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 牛毅
 * @version 1.0
 * @date 2025/7/27
 * @description TODO
 */
@RestController
@RequestMapping("/group/group")
public class GroupController {
    @Autowired
    TbGroupService tbGroupService;

    @PostMapping("/getGroupList")
    public R getGroupList(@RequestBody PageInfoVo pageInfoVo){
        return tbGroupService.getGroupList(pageInfoVo);
    }
}
